<template>
  <div id="app" :style="{ color: $store.state.isNightMode ? '#fff' : '#000' }">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "app",
  components: {},
};
</script>

<style lang="less">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#app {
  font-family: simsun;
  .night-input,
  .night-input /deep/ input,
  .night-input /deep/ textarea {
    background-color: transparent;
    border-color: initial;
    color: #fff;
  }
  .day-input,
  .day-input /deep/ input,
  .day-input /deep/ textarea {
    background-color: initial;
    border-color: #aaa;
    color: initial;
  }
}
</style>
